package com.example.chenjun.myapplication.mvp.contract;

import com.example.chenjun.myapplication.mvp.BasePresenter;
import com.example.chenjun.myapplication.mvp.IView;
import com.example.chenjun.myapplication.mvp.model.CookModel;

public class SearchCookContract {
    public interface SearchCookView extends IView{
        void findSearchCookSuccess();

        void findSearchCookFailed();
    }

    public static abstract class AbstractSearchCookPresenter extends BasePresenter<CookModel, SearchCookView>{
        public abstract void searchCookPresenter(String searchKey, int index, int size);
    }
}
